﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BaseUtilities
{
    public class CommonUtils
    {
        public static bool IsNumber(string pString)
        {
            if (string.IsNullOrWhiteSpace(pString))
                return false;
            for (int i = 0; i < pString.Length; i++)
            {
                if(!char.IsNumber(pString, i))
                    return false;
            }
            return true;
        }
    }

    public enum CommandStatus
    {
        New,
        Edit,
        Delete,
        Save,
        Cancel,
        Add,
        Remove
    }
}
